package com.bjpowernode.crm.settings.service.impl;

import com.bjpowernode.crm.settings.domain.DicValue;
import com.bjpowernode.crm.settings.mapper.DicValueMapper;
import com.bjpowernode.crm.settings.service.DicValueService;
import lombok.Getter;
import lombok.Setter;

import com.bjpowernode.crm.settings.service.DicValueService;

import java.util.List;

@Getter
@Setter
public class DicValueServiceImpl implements DicValueService {

    /**
     * 访问字典值数据
     */
    private DicValueMapper dicValueMapper;

    @Override
    public List<DicValue> queryDicValueByTypeCode(String typeCode) {
        return this.dicValueMapper.selectDicValueByTypeCode(typeCode);
    }

    @Override
    public String queryValueById(String id) {
        return this.dicValueMapper.selectValueById(id);
    }

    @Override
    public String queryTextById(String id) {
        return this.dicValueMapper.selectTextById(id);
    }

    @Override
    public String queryOrderNoById(String id) {
        return this.dicValueMapper.selectOrderNoById(id);
    }

}
